3.15.3 \(\int \frac {1}{\sqrt {c e+d e x} \sqrt {1-c^2-2 c d x-d^2 x^2}} \, dx\) [1403]

Optimal. Leaf size=31 \[ \frac {2 F\left (\left .\sin ^{-1}\left (\frac {\sqrt {c e+d e x}}{\sqrt {e}}\right )\right |-1\right )}{d \sqrt {e}} \]

[Out]

2*EllipticF((d*e*x+c*e)^(1/2)/e^(1/2),I)/d/e^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.02, antiderivative size = 31, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 37, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.054, Rules used = {703, 227} \begin {gather*} \frac {2 F\left (\left .\text {ArcSin}\left (\frac {\sqrt {c e+d x e}}{\sqrt {e}}\right )\right |-1\right )}{d \sqrt {e}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[1/(Sqrt[c*e + d*e*x]*Sqrt[1 - c^2 - 2*c*d*x - d^2*x^2]),x]

[Out]

(2*EllipticF[ArcSin[Sqrt[c*e + d*e*x]/Sqrt[e]], -1])/(d*Sqrt[e])

Rule 227

Int[1/Sqrt[(a_) + (b_.)*(x_)^4], x_Symbol] :> Simp[EllipticF[ArcSin[Rt[-b, 4]*(x/Rt[a, 4])], -1]/(Rt[a, 4]*Rt[
-b, 4]), x] /; FreeQ[{a, b}, x] && NegQ[b/a] && GtQ[a, 0]

Rule 703

Int[1/(Sqrt[(d_) + (e_.)*(x_)]*Sqrt[(a_.) + (b_.)*(x_) + (c_.)*(x_)^2]), x_Symbol] :> Dist[(4/e)*Sqrt[-c/(b^2
- 4*a*c)], Subst[Int[1/Sqrt[Simp[1 - b^2*(x^4/(d^2*(b^2 - 4*a*c))), x]], x], x, Sqrt[d + e*x]], x] /; FreeQ[{a
, b, c, d, e}, x] && NeQ[b^2 - 4*a*c, 0] && EqQ[2*c*d - b*e, 0] && LtQ[c/(b^2 - 4*a*c), 0]

Rubi steps

\begin {align*} \int \frac {1}{\sqrt {c e+d e x} \sqrt {1-c^2-2 c d x-d^2 x^2}} \, dx &=\frac {2 \text {Subst}\left (\int \frac {1}{\sqrt {1-\frac {x^4}{e^2}}} \, dx,x,\sqrt {c e+d e x}\right )}{d e}\\ &=\frac {2 F\left (\left .\sin ^{-1}\left (\frac {\sqrt {c e+d e x}}{\sqrt {e}}\right )\right |-1\right )}{d \sqrt {e}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 4 in optimal.
time = 10.02, size = 38, normalized size = 1.23 \begin {gather*} \frac {2 (c+d x) \, _2F_1\left (\frac {1}{4},\frac {1}{2};\frac {5}{4};(c+d x)^2\right )}{d \sqrt {e (c+d x)}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[1/(Sqrt[c*e + d*e*x]*Sqrt[1 - c^2 - 2*c*d*x - d^2*x^2]),x]

[Out]

(2*(c + d*x)*Hypergeometric2F1[1/4, 1/2, 5/4, (c + d*x)^2])/(d*Sqrt[e*(c + d*x)])

________________________________________________________________________________________

Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(120\) vs. \(2(25)=50\).
time = 0.75, size = 121, normalized size = 3.90

method result size
default \(\frac {\sqrt {e \left (d x +c \right )}\, \sqrt {-d^{2} x^{2}-2 c d x -c^{2}+1}\, \sqrt {-2 d x -2 c +2}\, \sqrt {d x +c}\, \sqrt {2 d x +2 c +2}\, \EllipticF \left (\frac {\sqrt {-2 d x -2 c +2}}{2}, \sqrt {2}\right )}{d e \left (d^{3} x^{3}+3 c \,d^{2} x^{2}+3 c^{2} d x +c^{3}-d x -c \right )}\) \(121\)
elliptic \(\frac {2 \sqrt {-e \left (d x +c \right ) \left (d^{2} x^{2}+2 c d x +c^{2}-1\right )}\, \left (-\frac {c +1}{d}+\frac {c -1}{d}\right ) \sqrt {\frac {x +\frac {c -1}{d}}{-\frac {c +1}{d}+\frac {c -1}{d}}}\, \sqrt {\frac {x +\frac {c}{d}}{-\frac {c -1}{d}+\frac {c}{d}}}\, \sqrt {\frac {x +\frac {c +1}{d}}{-\frac {c -1}{d}+\frac {c +1}{d}}}\, \EllipticF \left (\sqrt {\frac {x +\frac {c -1}{d}}{-\frac {c +1}{d}+\frac {c -1}{d}}}, \sqrt {\frac {-\frac {c -1}{d}+\frac {c +1}{d}}{-\frac {c -1}{d}+\frac {c}{d}}}\right )}{\sqrt {e \left (d x +c \right )}\, \sqrt {-d^{2} x^{2}-2 c d x -c^{2}+1}\, \sqrt {-d^{3} e \,x^{3}-3 c \,d^{2} e \,x^{2}-3 c^{2} d e x -c^{3} e +d x e +c e}}\) \(272\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(d*e*x+c*e)^(1/2)/(-d^2*x^2-2*c*d*x-c^2+1)^(1/2),x,method=_RETURNVERBOSE)

[Out]

(e*(d*x+c))^(1/2)*(-d^2*x^2-2*c*d*x-c^2+1)^(1/2)*(-2*d*x-2*c+2)^(1/2)*(d*x+c)^(1/2)*(2*d*x+2*c+2)^(1/2)*Ellipt
icF(1/2*(-2*d*x-2*c+2)^(1/2),2^(1/2))/d/e/(d^3*x^3+3*c*d^2*x^2+3*c^2*d*x+c^3-d*x-c)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(d*e*x+c*e)^(1/2)/(-d^2*x^2-2*c*d*x-c^2+1)^(1/2),x, algorithm="maxima")

[Out]

integrate(1/(sqrt(-d^2*x^2 - 2*c*d*x - c^2 + 1)*sqrt(d*x*e + c*e)), x)

________________________________________________________________________________________

Fricas [C] Result contains higher order function than in optimal. Order 9 vs. order 4.
time = 0.92, size = 32, normalized size = 1.03 \begin {gather*} -\frac {2 \, \sqrt {-d^{3} e} e^{\left (-1\right )} {\rm weierstrassPInverse}\left (\frac {4}{d^{2}}, 0, \frac {d x + c}{d}\right )}{d^{3}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(d*e*x+c*e)^(1/2)/(-d^2*x^2-2*c*d*x-c^2+1)^(1/2),x, algorithm="fricas")

[Out]

-2*sqrt(-d^3*e)*e^(-1)*weierstrassPInverse(4/d^2, 0, (d*x + c)/d)/d^3

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\sqrt {e \left (c + d x\right )} \sqrt {- \left (c + d x - 1\right ) \left (c + d x + 1\right )}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(d*e*x+c*e)**(1/2)/(-d**2*x**2-2*c*d*x-c**2+1)**(1/2),x)

[Out]

Integral(1/(sqrt(e*(c + d*x))*sqrt(-(c + d*x - 1)*(c + d*x + 1))), x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(d*e*x+c*e)^(1/2)/(-d^2*x^2-2*c*d*x-c^2+1)^(1/2),x, algorithm="giac")

[Out]

integrate(1/(sqrt(-d^2*x^2 - 2*c*d*x - c^2 + 1)*sqrt(d*x*e + c*e)), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.03 \begin {gather*} \int \frac {1}{\sqrt {c\,e+d\,e\,x}\,\sqrt {-c^2-2\,c\,d\,x-d^2\,x^2+1}} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/((c*e + d*e*x)^(1/2)*(1 - d^2*x^2 - 2*c*d*x - c^2)^(1/2)),x)

[Out]

int(1/((c*e + d*e*x)^(1/2)*(1 - d^2*x^2 - 2*c*d*x - c^2)^(1/2)), x)

________________________________________________________________________________________